package old;

/**
 * @program: spring-demo1
 * @author: JCM
 * @create: 2023-02-20 20:45
 * @description:
 **/
public class Car {
    private Framework framework;
    public Car () {
        framework = new Framework();
    }
    public void init() {
        System.out.println("执行了 car 的 init 方法");
        // 依赖车身
        framework.init();
    }
}
